using System;
using NHibernate;
using NHibernate.Example.Web;
using NHibernate.Tool.hbm2ddl;

public partial class Schema : System.Web.UI.Page
{
	protected void Page_Load(object sender, EventArgs e)
	{
	}

	protected void CreateSchema_Click(object sender, EventArgs e)
	{
        SchemaExport export = new SchemaExport(ExampleApplication.Configuration);
        export.Create(false, true);

		
	}

	protected void DropSchema_Click(object sender, EventArgs e)
	{
        //SchemaExport export = new SchemaExport(ExampleApplication.Configuration);
        //export.Drop(false, true);
        //Status.Text = "Schema dropped";
	}
}
